# 包含头文件路径
include_directories(/usr/local/protobuf/include)
include_directories(${CMAKE_SOURCE_DIR}/include)
include_directories(${CMAKE_SOURCE_DIR}/include/data)
include_directories(${CMAKE_SOURCE_DIR}/lib/glog-0.6.0/include)
include_directories(${CMAKE_SOURCE_DIR}/lib/googletest-1.14.0/include)
include_directories(${CMAKE_SOURCE_DIR}/lib/armadillo-12.4.2/include)
# 指定库搜索路径
link_directories(${CMAKE_SOURCE_DIR}/lib/armadillo-12.4.2/lib)
link_directories(${CMAKE_SOURCE_DIR}/lib/googletest-1.14.0/lib)
link_directories(${CMAKE_SOURCE_DIR}/lib/glog-0.6.0/lib)

aux_source_directory(../test DIR_TEST)
set(link_lib glog gtest pthread)
set(link_math_lib armadillo blas lapack)

aux_source_directory(../source/data DIR_DATA)
add_executable(test_kuiper_course ${DIR_TEST} ${DIR_DATA})

link_directories(/usr/local/lib/)
target_link_libraries(test_kuiper_course ${link_lib} ${link_math_lib})
